package net.zjitc.mapper;

import net.zjitc.pojo.Customer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CustomerMapper {
    @Select("select * from customer where idCard=#{idCard}")
    public Customer selectByIdCard(@Param("idCard") String idCard);

    @Select("select * from customer where id=#{id}")
    public Customer selectById(@Param("id") long id);

}
